✨ 誕生日カレンダー機能を追加 - #236
Open
Tivo0921 wants to merge 4 commits into
Open
Conversation
- /internal/birthdays に誕生日カレンダーページを追加 - サイドバーに「誕生日」ナビリンク(Cake アイコン)を追加 - internal ホームに今日の誕生日バナー+紙吹雪アニメーション(canvas-confetti) - 自分の誕生日までのカウントダウン表示 - 今日が誕生日のメンバーへ geek ジョークを Discord DM で送信する機能 - 月ナビ付き年間カレンダー(1ヶ月表示・前後矢印で移動) - 誕生日がある日をクリックするとメンバー情報をポップアップ表示 - /api/cron/birthday エンドポイントで朝に Discord 運営チャンネルへ通知 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Deployed on https://dev-pr-236-birbz3fm6q-an.a.run.app |
4 tasks
|
Deployed on https://dev-pr-236-birbz3fm6q-an.a.run.app |
Contributor
Author
|
@Shion1305 これでよければマージしてくれ |
Shion1305
reviewed
May 11, 2026
Comment on lines
+37
to
+56
| { | ||
| label: "age++", | ||
| message: | ||
| "age++ を実行しました。コンパイルエラー: 0件。テスト: all passed。", | ||
| }, | ||
| { | ||
| label: "git tag", | ||
| message: | ||
| "git tag -a birthday-$(date +%Y) -m 'Happy Birthday! No breaking changes detected in this release.'", | ||
| }, | ||
| { | ||
| label: "console.log", | ||
| message: | ||
| 'console.log("Happy Birthday! Stack usage: optimal. Memory leaks: none. Uptime: 1 year+.");', | ||
| }, | ||
| { | ||
| label: "deploy", | ||
| message: | ||
| "本番環境へのデプロイが完了しました。ロールバック: 不要。ステータス: healthy。今年もよろしくお願いします。", | ||
| }, |
Member
There was a problem hiding this comment.
Jokeとして言いたいことは分からんくもないがなんかニッチすぎるというか伝わらないというか親しみ持たせたくはある
| return ( | ||
| <div className="mt-3"> | ||
| <p className="text-xs text-muted-foreground mb-2"> | ||
| Discord DM でジョークを送る |
Member
There was a problem hiding this comment.
誕生日祝いにDMでジョーク送らなくても笑笑
機能要件設計再考したいかも
Discord DMでジョークを送る機能(JokeButtons)とそのServer Action(sendBirthdayJokeDm)を削除 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Deployed on https://dev-pr-236-birbz3fm6q-an.a.run.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #193
Summary
/internal/birthdaysに誕生日カレンダーページを追加(月別リスト + 今月ハイライト)/api/cron/birthday)Changes
app/internal/(protected)/birthdays/page.tsx— 誕生日一覧ページ(Server Component)components/birthday-list.tsx— 月別リスト・カウントダウン・ジョークボタン(Client Component)components/birthday-year-calendar.tsx— 年間カレンダー(月単位ナビ・ダイアログ)components/today-birthday-banner.tsx— 今日の誕生日バナー(canvas-confetti)lib/birthday/actions.ts—sendBirthdayJokeDmServer Actionapp/api/cron/birthday/route.ts— Cron エンドポイント(CRON_SECRETで保護)lib/discord-dm.ts—buildBirthdayNotification追加components/app-sidebar.tsx— サイドバーに「誕生日」ナビ項目を追加.env.example—CRON_SECRETを追加Test plan
/internal/birthdaysにアクセスして誕生日一覧が表示されるCRON_SECRETを設定し、Cloud Scheduler で/api/cron/birthdayを毎朝 9:00 JST に呼び出す🤖 Generated with Claude Code